Wpo\Services\Access_Token_Service D

Total Complexity 136
Dependencies 8
Dependents 7
Total lines 917
Lines of code 588
Logical lines of code 353
Comment lines 138
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
get_access_token()
D
24
34 173
get_app_only_access_token()
D
28
32 126
save_access_tokens()
A
41 14 57
get_cached_access_token()
A
43 12 46
get_refresh_token()
A
47 7 35
validate_access_token()
A
55 8 18
user_has_delegated_access()
A
50 7 31
get_application_roles()
S
56 6 18
token_has_role()
S
59 6 14
get_authorization_code()
S
54 3 22
save_authorization_code()
S
58 3 16
delete_tokens()
S
57 2 18
save_refresh_token()
S
60 2 14